package com.sleep.psy.external_server.business.evaluation.entity.sleep;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author wenliguo
 * @date 2025年06月16日 11:25
 */
@Data
@ApiModel("查询测评记录")
public class SelectRecordReq {

    @ApiModelProperty(notes = "用户id不能为空", required = true)
    @NotNull(message = "用户id不能为空")
    private Long userId;

    @ApiModelProperty(notes = "商品id不能为空", required = true)
    @NotNull(message = "商品id不能为空")
    private Long goodsId;
}
